package com.lzl.springboot.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
@RequestMapping("/")
public class Test {

    @RequestMapping("/test/{str}")
    public String hello(@PathVariable String str) {
        String s = "欢迎您来到虚拟机内网穿透测试环境";
        return str+":<br/>"+s;
    }
}
